<script setup>
import { ref } from 'vue'
import { useRouter, useRoute } from 'vue-router'

const route = useRoute()
console.log(route.params);
</script>

<template>
  <h1>Student {{ route.params.name }}</h1>
</template>

<style scoped>

</style>
